package com.example.sys.org.model;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Getter
@Setter
@Entity
@Table(name = "sys_org_role")
public class SysOrgRole extends SysOrgElement {

    @Column(name = "fd_code")
    private String fdCode;

    @Override
    public void recalculateFields() {
        this.fdOrgType = SysOrgConstant.ROLE;
        super.recalculateFields();
    }
}
